package top.mataiji.manager.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.mataiji.manager.pojo.User_money;
import top.mataiji.manager.pojo.User_moneyExample;

import java.util.List;

@Mapper
public interface User_moneyMapper {
    long countByExample(User_moneyExample example);

    int deleteByExample(User_moneyExample example);

    int deleteByPrimaryKey(Integer tuw);

    int insert(User_money record);

    int insertSelective(User_money record);

    List<User_money> selectByExample(User_moneyExample example);

    User_money selectByPrimaryKey(Integer tuw);

    int updateByExampleSelective(@Param("record") User_money record, @Param("example") User_moneyExample example);

    int updateByExample(@Param("record") User_money record, @Param("example") User_moneyExample example);

    int updateByPrimaryKeySelective(User_money record);

    int updateByPrimaryKey(User_money record);

    int updateByUserid(Integer userId, Long orderPrice);
}
